package com.example.module_main

import com.example.lib_base.view.Res2
import com.example.module_main.entity.HomeEntity
import retrofit2.http.GET
import retrofit2.http.Query

interface ApiService {
    @GET("/api/announcements")
    suspend fun getNotices(@Query("page")page:Int, @Query("size")size:Int): Res2<HomeEntity>
}